---
import LinkItemBox from "./LinkItemBox.astro";
import LinkItem from "./LinkItem.astro";
---

<th:block th:with="linkTree = ${@linkTag.linkTree(7,'blog_link')}">
    <th:block th:each="linkOne : ${linkTree}">
        <LinkItemBox title="${linkOne.linkName}">
            <th:block th:each="linkTwo : ${linkOne.children}">
                <LinkItem linkUrl="${linkTwo.linkUrl}" linkName="${linkTwo.linkName}"
                          linkIco="${'/'+themeName+linkTwo.linkIco}" linkId="${linkTwo.linkId}"
                          orderNum="${linkTwo.orderNum}" description="${linkTwo.description}"
                          keywords="${linkTwo.keywords}" />
            </th:block>
        </LinkItemBox>
    </th:block>
</th:block>
